package com.wl.dzt.basic.entity;

import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel("BasicPartTime")
@Table("basic_part_time")
public class BasicPartTime implements Serializable {

    @ApiModelProperty(value = "兼职人", name = "userId")
    @Column(value = "user_id", text = "兼职人", maxLength = 32)
    private BasicUser userId;


    @ApiModelProperty(value = "编号", name = "id")
    @Column(value = "id", text = "编号", maxLength = 32)
    private String id;


    @ApiModelProperty(value = "兼职机构", name = "organId")
    @Column(value = "organ_id", text = "兼职机构", maxLength = 32)
    private BasicOrganization organId;


    @ApiModelProperty(value = "兼职岗位", name = "positionId")
    @Column(value = "position_id", text = "兼职岗位", maxLength = 32)
    private BasicPosition positionId;

    public BasicUser getUserId() {
        return userId;
    }

    public void setUserId(BasicUser userId) {
        this.userId = userId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BasicOrganization getOrganId() {
        return organId;
    }

    public void setOrganId(BasicOrganization organId) {
        this.organId = organId;
    }

    public BasicPosition getPositionId() {
        return positionId;
    }

    public void setPositionId(BasicPosition positionId) {
        this.positionId = positionId;
    }
}
